function toQuickAskDetail(id) {
    server.loadindex('page/quickask/quickaskdetail/quickaskdetail','id='+id,false);

};
$(function () {
    var typeid=server.getQueryString("typeid");

    if(!server.isEmpty(typeid)){
        server.req('wechat/quicktestype/info/'+typeid,{},function (e) {
            if(e.code==0){
                $("#typename").text(e.data.title);
                server.req('wechat/quicktest/list',{typeId:typeid},function (res) {
                    console.log(res)
                    if(res.code==0){
                        server.loadData(".CBblock-body",res);
                    }
                });
            }

        })

    }
})